﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Imprenta_Help_Desk.CapaPresentacion;

namespace Imprenta_Help_Desk
{
    public partial class FrmPresentacion : Form
    {
        int i;
        
        public FrmPresentacion()
        {
            InitializeComponent();
        }

        private void RelojPresentacion_Tick(object sender, EventArgs e)
        {

            i++;

            BarraPresentacion.Value1 = i;
            BarraPresentacion.Text = i + "% cargado";

            if (i == 100)
            {
                this.Hide();
                Frm_Identificacion frm_loguin = new Frm_Identificacion();
                frm_loguin.Show();
                RelojPresentacion.Enabled = false;

            }


        }
    }
}
